<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/global/css/admincp/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/global/css/admincp/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/global/css/admincp/ie.css" media="screen, projection" />
	<![endif]-->

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/global/css/admincp/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/global/css/ui-lightness/jquery-ui-1.8.16.custom.css" />
	<script language="javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/global/js/libs/jquery-1.8.2.min.js"></script>
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div class="container" id="page">

	<div id="header">
		<div id="logo"><div><a href="/"><img src="<?php echo Yii::app()->request->baseUrl; ?>/global/img/admin_head.png" /></a></div></div>
	</div><!-- header -->

    <div id="mainmenu">
		<?php ?>
        <ul id="yw2">
		
		<li <?php if(strstr(Yii::app()->request->pathInfo,'default')) {?> class="active" <?php } ?>><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/default/index">后台首页</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'department')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/department/index">组织结构管理</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'hrPosition')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/hrPositionLevel/index">职级管理</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'hecUser')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/hecUser/index">元素信息</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'userPositionLevel')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/userPositionLevel/index">元素职级</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'transfer')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/transfer/index">元素调动</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'hrAdmin')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/hrAdminUser/index">后台管理</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'hrOption')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/hrOption/index">Options</a></li>
        
        <li <?php if(strstr(Yii::app()->request->pathInfo,'hrFeedback')) {?> class="active" <?php } ?> ><a href="<?php echo Yii::app()->request->baseUrl; ?>/admincp/hrFeedback/index">信息反馈</a></li>
		<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/site/logout">退出 (<?php echo $this->userInfo->c_username?>)</a></li>
		</ul>	
	</div><!-- mainmenu -->

	<?php $this->widget('zii.widgets.CBreadcrumbs', array(
		'links'=>$this->breadcrumbs,
	)); ?><!-- breadcrumbs -->

	<?php echo $content; ?>

	<div id="footer">
		Copyright &copy; <?php echo date('Y'); ?> by Happy Elements.<br/>
		All Rights Reserved.<br/>
		<?php echo Yii::powered(); ?>
	</div><!-- footer -->

</div><!-- page -->

</body>
</html>